import Layout from '@/layout'
export default {
  path: '/authority',
  component: Layout,
  redirect: '/authority/menu',
  name: 'authority',
  meta: { title: '权限管理', icon: 'tree' },
  children: [
    {
      path: 'menu',
      name: 'menu',
      component: () => import('@/views/authority/menu/index'),
      meta: { title: '菜单管理', icon: 'caidan' }
    },
    {
      path: 'role',
      name: 'role',
      component: () => import('@/views/authority/role/index'),
      meta: { title: '角色管理', icon: 'juese' }
    },
    {
      path: 'user',
      name: 'user',
      component: () => import('@/views/authority/user/index'),
      meta: { title: '用户管理', icon: 'yonghu' }
    }
  ]
}
